<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>小卖部</title>
</head>
<body>
<table>
<tr> 
	<td>商品名称</td><td>商品价格</td><td>商品数量</td></tr>
<s:iterator value="#session.plist" var="p">
<tr> 
	<td>${p.pname}</td><td>${p.pprice}</td><td>${p.pnum }</td><td><a href="car?pid=${p.pid}">加入购物车</a></td></tr>
</s:iterator>
</table>
</body>
</html>